﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp.Service
{
    public class DoEncrypt
    {

        public static string getEnpcrypt(string s)
        {
            EncryptHelper eg = new EncryptHelper("23DbtQHR2UMbH6mJ");
            string en = eg.encrypt(s);
            byte[] decodedBytes = Convert.FromBase64String(en);
            string hexRes = BitConverter.ToString(decodedBytes).Replace("-", string.Empty);
            return hexRes.ToLower();
        }


    }
}
